<%@page import="cn.edu.hpu.entity.IdeaComment"%>
<%@page import="cn.edu.hpu.entity.Idea"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE HTML>
<html>
	<head>
		<meta charset="UTF-8">
		<script type="text/javascript" src="bootstrap/jquery.js"></script>
		<script type="text/javascript" src="bootstrap/bootstrap.min.js"></script>
		<link rel="stylesheet" type="text/css" href="bootstrap/bootstrap.min.css" />
		
		<style type="text/css">
			body{
				background-image:url("bootstrap/backgroundimg.png");
				font-family:"微软雅黑";
			}
			.div1{
				width:600px;
				height:auto;
				border:1px,soild,#DDDDDD;
				margin-top:10px;
				margin-left:35px;
				
			
			}
			.wall{
				 
				border: 1px solid #DDDDDD;
				border-style: none solid solid;
				border-width: medium 1px 1px;
				padding: 15px;
				background-color:white;
			}
			
		
		</style>
	</head>
	<body>
	<%
		Idea i = (Idea)request.getAttribute("idea");
		IdeaComment ic = (IdeaComment)request.getAttribute("ideacomment");
	 %>
		<div class="div1">
			
					<div class="line">
						评论
					</div>
					<form action="icupdate.jspx" method="post"><!--对想法评论的提交-->
					<input type="hidden" name="iid" value="<%=i.getIid()%>"/>
					<input type="hidden" name="icid" value="<%=ic.getIcid()%>"/>
						<textarea name="iccontent" id="" cols="10" rows="4"></textarea>
						<br/>
						<input type="submit" value="保存" /> 

					</form>
				<a href="prod.jspx?method=idea">←返回想法列表</a>

		</div>

	</body>
</html>